//
//  OMOrderEvaluateStarTableCell.m
//  OMENGO_NEW
//
//  Created by 梁尚嘉 on 2017/5/17.
//  Copyright © 2017年 Kamfat. All rights reserved.
//

#import "OMOrderEvaluateStarTableCell.h"
#import "OMStarView.h"
@interface OMOrderEvaluateStarTableCell ()

@end

@implementation OMOrderEvaluateStarTableCell

- (void)configure
{
    [super configure];
    _elementLabel = [UILabel new]   ;
    _elementLabel.font = SM_CFont(30) ;
    _elementLabel.textColor = SM_darkGrayColor;
    _elementLabel.text = @"商家服务";
    [self.contentView addSubview:_elementLabel];
    [_elementLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(@(SM_SIZE(30)));
        make.centerY.equalTo(self.contentView.mas_centerY);
    }];

    _starView = [OMStarView new];
    [self.contentView addSubview:_starView];
    [_starView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(@(SM_SIZE(200)));
        make.centerY.equalTo(self.contentView.mas_centerY);
    }];
}

+ (CGFloat)cellHeight
{
    return SM_SIZE(110);
}

@end
